package com.atguigu.ssm.mapper;

import com.atguigu.ssm.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 31427
 * @create 2022/10/9 20:25
 * @description
 */
public interface EmployeeMapper {
    /**
     * 查询所有信息
     * @return
     */
    List<Employee> getAllEmployee();

    void addEmployee(Employee employee);

    Employee queryemployeeByEmpId(Integer empId);

    void updateEmployee(Employee employee);

    void deleteEmployee(Integer empId);
}
